package org.zfes.snowier.cloud.zbss.widget.act.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class ActSubject extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public ActSubject() {}
	public ActSubject(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
//	@javax.validation.constraints.NotBlank(message="课程进入码不能为空")
//	@javax.validation.constraints.NotNull(message="课程进入码不能为空")
//	@org.hibernate.validator.constraints.Length(min=0,max=20,message="课程进入码长度不能大于20")
	  private java.lang.String pinNum;

	@javax.validation.constraints.NotNull(message="创建者不能为空")
	  private java.lang.Long creatorUserId;
 
	@javax.validation.constraints.NotBlank(message="课堂名不能为空")
	@javax.validation.constraints.NotNull(message="课堂名不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="课堂名长度不能大于100")
	  private java.lang.String name;
 
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="编码长度不能大于100")
	  private java.lang.String remark;
 
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	  //#0未进行， 1进行中，2已结束 -1删除#
	 @javax.validation.constraints.NotNull(message="状态:不能为空")
	  private java.lang.Byte status;
	  private java.util.Date startTime;
	  private java.util.Date endTime;
	  private java.lang.Integer shouldUserCount;
	  private java.lang.Integer actualUserCount;
 
	
	//<-------------------------------------------->
	public ActSubject setPinNum(java.lang.String pinNum){
		this.pinNum=pinNum==null?null:pinNum.trim();
	 return this;
	}
	public java.lang.String getPinNum(){
		return this.pinNum;
	}

	public ActSubject setCreatorUserId(java.lang.Long creatorUserId){
	 this.creatorUserId=creatorUserId;
	 return this;
	}
	public java.lang.Long getCreatorUserId(){
		return this.creatorUserId;
	}
	public ActSubject setName(java.lang.String name){
		this.name=name==null?null:name.trim();
	 return this;
	}
	public java.lang.String getName(){
		return this.name;
	}
	public ActSubject setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public ActSubject setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public ActSubject setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public ActSubject setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public ActSubject setStartTime(java.util.Date startTime){
	 this.startTime=startTime;
	 return this;
	}
	public java.util.Date getStartTime(){
		return this.startTime;
	}
	public ActSubject setEndTime(java.util.Date endTime){
	 this.endTime=endTime;
	 return this;
	}
	public java.util.Date getEndTime(){
		return this.endTime;
	}
	public ActSubject setShouldUserCount(java.lang.Integer shouldUserCount){
	 this.shouldUserCount=shouldUserCount;
	 return this;
	}
	public java.lang.Integer getShouldUserCount(){
		return this.shouldUserCount;
	}
	public ActSubject setActualUserCount(java.lang.Integer actualUserCount){
	 this.actualUserCount=actualUserCount;
	 return this;
	}
	public java.lang.Integer getActualUserCount(){
		return this.actualUserCount;
	}

}
